const github.com/rivo/uniseg.grAny
31 uses
github.com/rivo/uniseg (current package)
grapheme.go#L230: return b, nil, runeWidth(r, prop), grAny | (prop << shiftGraphemePropState)
grapheme.go#L268: return b, nil, width, grAny | (prop << shiftGraphemePropState)
grapheme.go#L290: return str, "", runeWidth(r, prop), grAny | (prop << shiftGraphemePropState)
grapheme.go#L328: return str, "", width, grAny | (prop << shiftGraphemePropState)
graphemerules.go#L5: grAny = iota
graphemerules.go#L47: case grAny | prCR<<32:
graphemerules.go#L49: case grAny | prLF<<32:
graphemerules.go#L51: case grAny | prControl<<32:
graphemerules.go#L56: return grAny, grBoundary, 40
graphemerules.go#L58: return grAny, grBoundary, 40
graphemerules.go#L65: case grAny | prL<<32:
graphemerules.go#L77: case grAny | prLV<<32:
graphemerules.go#L79: case grAny | prV<<32:
graphemerules.go#L87: case grAny | prLVT<<32:
graphemerules.go#L89: case grAny | prT<<32:
graphemerules.go#L95: case grAny | prExtend<<32:
graphemerules.go#L96: return grAny, grNoBoundary, 90
graphemerules.go#L97: case grAny | prZWJ<<32:
graphemerules.go#L98: return grAny, grNoBoundary, 90
graphemerules.go#L101: case grAny | prSpacingMark<<32:
graphemerules.go#L102: return grAny, grNoBoundary, 91
graphemerules.go#L105: case grAny | prPrepend<<32:
graphemerules.go#L108: return grAny, grNoBoundary, 92
graphemerules.go#L111: case grAny | prExtendedPictographic<<32:
graphemerules.go#L121: case grAny | prRegionalIndicator<<32:
graphemerules.go#L149: anyStateState, anyStateProp, anyStateRule := grTransitions(grAny, prop)
graphemerules.go#L175: return grAny, prop, true
step.go#L107: return b, nil, LineMustBreak | (1 << shiftWord) | (1 << shiftSentence) | (runeWidth(r, prop) << ShiftWidth), grAny | (wbAny << shiftWordState) | (sbAny << shiftSentenceState) | (lbAny << shiftLineState) | (prop << shiftPropState)
step.go#L165: return b, nil, LineMustBreak | (1 << shiftWord) | (1 << shiftSentence) | (width << ShiftWidth), grAny | (wbAny << shiftWordState) | (sbAny << shiftSentenceState) | (lbAny << shiftLineState) | (prop << shiftPropState)
step.go#L181: return str, "", LineMustBreak | (1 << shiftWord) | (1 << shiftSentence) | (runeWidth(r, prop) << ShiftWidth), grAny | (wbAny << shiftWordState) | (sbAny << shiftSentenceState) | (lbAny << shiftLineState)
step.go#L239: return str, "", LineMustBreak | (1 << shiftWord) | (1 << shiftSentence) | (width << ShiftWidth), grAny | (wbAny << shiftWordState) | (sbAny << shiftSentenceState) | (lbAny << shiftLineState) | (prop << shiftPropState)